﻿using rmTest.Common.AttrUtil;
using System;
using System.Collections.Generic;
using System.Text;

namespace rmTest.Common
{
    /// <summary>
    /// 用户状态
    /// </summary>
    public enum UserState
    {
        /// <summary>
        /// 正常
        /// </summary>
        [Display("正常")]
        Normal = 0,//左边是字段名称  右边是数据库值   哪里放描述？  注释
        /// <summary>
        /// 冻结
        /// </summary>
        [Display("冻结")]
        Frozen = 1,
        /// <summary>
        /// 删除
        /// </summary>
        [Display("删除")]
        Deleted = 2
    }


    /// <summary>
    /// 用户类型
    /// </summary>
    public enum UserType
    {
        /// <summary>
        /// 游客
        /// </summary>
        [Display("游客")]
        Visitor = 0,
        /// <summary>
        /// 会员
        /// </summary>
        [Display("会员")]
        Vip = 1,
        /// <summary>
        /// 管理员
        /// </summary>
        [Display("管理员")]
        Admin = 2
    }
}
